/**
 * 
 * 广州锐鹏计算机科技有限公司（www.ruipengkj.com）
 * 
 * 
 * Copyright (c) 2011-2012 RUIPENGKJ.Co.Ltd. All rights reserved.
 * 
 * */
package com.ruipengkj.bean;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 说明：
 * Entity Name 商品
 * @Author：李智深
 * @Date：2012-03-14
 */
@Entity
@Table(name="ruipeng_tb_TSerShiftType")
public class TSerShiftType implements Serializable{

	private static final long serialVersionUID = 1L;

	private String TypeID;//轮牌编号
		
	private String Name;//轮牌名称

	@Id
	@Column(name = "TypeID",length=15)
	public String getTypeID() {
		return TypeID;
	}

	public void setTypeID(String typeID) {
		TypeID = typeID;
	}
	@Column(name = "Name")
	public String getName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return this.Name;
	}

	@Override
	public boolean equals(Object obj) {
		// TODO Auto-generated method stub
		return TypeID.equals(((TSerShiftType)obj).TypeID);
	}
	public TSerShiftType(){}
	public TSerShiftType(String typeID) {
		super();
		TypeID = typeID;
	}
}
